import request from '../http/index.js'
export const  getUsersList = () => {
    return request({
      url: '/member/list',
      method: 'get',
    });
  };

export const submitEditForm =(data) =>{
    return request({
        url: '/member/update',
        method: 'post',
        data:data,
      });
};

export const deleteMember =(data) =>{
  return request({
      url: '/member/delete',
      method: 'post',
      data:data,
    });
};